using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class ActiveInfo
    {
        #region Model
        private int _id;
        private int _adminid;
        private int _productid;
        private string _img;
        private int _position;
        private int _isshow;
        private int _clickcount;
        private DateTime _createdate;

        //拓展字段
        public string ProductName = "";
        public string PositionText = "";
        /// <summary>
        /// 唯一ID
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 商户ID
        /// </summary>
        public int AdminID
        {
            set { _adminid = value; }
            get { return _adminid; }
        }
        /// <summary>
        /// 产品ID
        /// </summary>
        public int ProductID
        {
            set { _productid = value; }
            get { return _productid; }
        }
        /// <summary>
        /// 活动图片
        /// </summary>
        public string Img
        {
            set { _img = value; }
            get { return _img; }
        }
        /// <summary>
        /// 位置
        /// </summary>
        public int Position
        {
            set { _position = value; }
            get { return _position; }
        }
        /// <summary>
        /// 是否显示
        /// </summary>
        public int IsShow
        {
            set { _isshow = value; }
            get { return _isshow; }
        }
        /// <summary>
        /// 点击量
        /// </summary>
        public int ClickCount
        {
            set { _clickcount = value; }
            get { return _clickcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        #endregion Model
    }
}

